package com.toe.order.webapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.toe.pojo.entity.order.OrderCart;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 陶涛
 * @since 2022-07-19
 */
@Repository
public interface OrderCartMapper extends BaseMapper<OrderCart> {

    int countPlusOneById(Long id);

    int deleteByIds(List<Long> ids);

    int countMinusOneById(Long id);

    List<OrderCart> listByIds(List<Long> ids);

}
